import { Button } from 'antd'
import { useEffect } from 'react'
import { Link, history } from 'umi'
const Dashboard = () => {
  useEffect(() => {

  }, [])
  const handelTologin = () => {
    history.push('/login')
  }
  return <div>
    <Button onClick={handelTologin}>tologin</Button>
    <Link to='/guide'>guide</Link>
    <Button>
      <Link to='/upload'>upload</Link>

    </Button>
  </div>
}

export default Dashboard